/**
 *@author created by WA03675
 *@date  2021-08-02 10:34
 *@des 第三方依赖相关
 */
object Version {
    const val kotlin = "1.5.30"

    //UI
    const val constraintLayout = "2.0.4"
    const val autoSize = "v1.2.1"
    const val flowlayout = "1.1.2"
    const val xpopup = "2.7.5"

    //扩展库
    const val liveData_ktx = "2.2.0"
    const val fragment_ktx = "1.3.5"
    const val activity_ktx = "1.2.0"

    //导航
    const val navigation = "2.3.5"

    //协程
    const val coroutines = "1.4.2"

    //net
    const val okHttp = "4.9.1"
    const val rxHttp = "2.8.2"


    //注入
    const val hilt = "2.36"
    const val hilt_vm = "1.0.0-alpha03"

    //启动
    const val startup = "1.1.0"

    //功能adb
    const val glide = "4.12.0"
    const val brvah = "3.0.4"
    const val permissionX = "1.5.0"
    const val huaweiScan = "2.0.0.300"
    const val easyPhotos = "3.1.3"
    const val dataStore = "1.0.0"
    const val bugly = "3.4.4"
    const val tencentX5 = "44115"
    const val dataPicker = "v1.0.1"
    const val luban = "1.1.0"
}

object AndroidX {
    const val constraintLayout =
        "androidx.constraintlayout:constraintlayout:${Version.constraintLayout}"
}

object UI {
    const val flowLayout = "com.hyman:flowlayout-lib:${Version.flowlayout}"
    const val xpopup = "com.github.li-xiaojun:XPopup:${Version.xpopup}"
}

object KTX {

    const val livedata_ktx = "androidx.lifecycle:lifecycle-livedata-ktx:${Version.liveData_ktx}"
    const val viewmodel_ktx = "androidx.lifecycle:lifecycle-viewmodel-ktx:${Version.liveData_ktx}"

    const val activity_ktx = "androidx.activity:activity-ktx:${Version.activity_ktx}"
    const val fragment_ktx = "androidx.fragment:fragment-ktx:${Version.fragment_ktx}"

}

object Function {
    const val coroutines_core =
        "org.jetbrains.kotlinx:kotlinx-coroutines-core:${Version.coroutines}"
    const val coroutines_android =
        "org.jetbrains.kotlinx:kotlinx-coroutines-android:${Version.coroutines}"

    const val navigation = "androidx.navigation:navigation-fragment-ktx:${Version.navigation}"
    const val navigation_ui = "androidx.navigation:navigation-ui-ktx:${Version.navigation}"

    //自动适配
    const val auto_size = "com.github.JessYanCoding:AndroidAutoSize:${Version.autoSize}"

    //glide
    const val glide = "com.github.bumptech.glide:glide:${Version.glide}"
    const val glide_compiler = "com.github.bumptech.glide:glide:${Version.glide}"

    //万能适配器
    const val bravh = "com.github.CymChad:BaseRecyclerViewAdapterHelper:${Version.brvah}"

    //权限申请
    const val permissionX = "com.guolindev.permissionx:permissionx:${Version.permissionX}"

    //华为扫码
    const val huaweiScan = "com.huawei.hms:scanplus:${Version.huaweiScan}"

    //图片选择
    const val easyPhotos = "com.github.HuanTanSheng:EasyPhotos:${Version.easyPhotos}"

    //数据存储方案
    const val dataStore = "androidx.datastore:datastore-preferences:${Version.dataStore}"

    //App启动
    const val startUp = "androidx.startup:startup-runtime:${Version.startup}"

    //bugly异常上报
    const val bugly = "com.tencent.bugly:crashreport:${Version.bugly}"

    //腾讯x5浏览doc文档
    const val tencentX5 = "com.tencent.tbs:tbssdk:${Version.tencentX5}"

    const val dataPicker = "com.github.codbking:PickTime:${Version.dataPicker}"

    const val luban = "com.github.forJrking:KLuban:${Version.luban}"


}

object Net {
    const val okHttp = "com.squareup.okhttp3:okhttp:${Version.okHttp}"
    const val rxHttp = "com.github.liujingxing.rxhttp:rxhttp:${Version.rxHttp}"
    const val rxHttpCompiler = "com.github.liujingxing.rxhttp:rxhttp-compiler:${Version.rxHttp}"
}

object Hilt {
    const val hilt_android = "com.google.dagger:hilt-android:${Version.hilt}"
    const val hilt_compiler = "com.google.dagger:hilt-android-compiler:${Version.hilt}"
    const val hilt_vm = "androidx.hilt:hilt-lifecycle-viewmodel:${Version.hilt_vm}"
    const val hilt_vm_compiler = "androidx.hilt:hilt-compiler:${Version.hilt_vm}"
}